import request from "../../utils/request";
import { UserType } from "./type";

export const Login = (parmas: UserType) => request.post("/login", parmas)
export const Reg = (parmas: UserType) => request.post("/reg", parmas)